Notice (8): Undefined index: items [ROOT/templates/Pages/videos.php, line 69]Code Context
<?php foreach ($videos['items'] as $video) : ?>
<?php
$templateFile =
'/home/caravana/public_html/templates/Pages/videos.php'
$dataForView = [
'id' => 'gHda794d6JA_|_Estamos chegando Castanhal!_|_',
'colunistas' => object(Cake\ORM\Query) id:0 {
'(help)' => 'This is a Query object, to get the results execute or iterate it.'
'sql' => 'SELECT Editorials.id AS Editorials__id, Editorials.ord AS Editorials__ord, Editorials.title AS Editorials__title, Editorials.tlink AS Editorials__tlink, Editorials.color AS Editorials__color, Editorials.type AS Editorials__type, Editorials.image AS Editorials__image FROM editorials Editorials WHERE type = :c0 ORDER BY ord ASC'
'params' => [
':c0' => [
'' => [maximum depth reached],
],
]
'defaultTypes' => [
'Editorials__id' => 'integer',
'Editorials.id' => 'integer',
'id' => 'integer',
'Editorials__ord' => 'integer',
'Editorials.ord' => 'integer',
'ord' => 'integer',
'Editorials__title' => 'string',
'Editorials.title' => 'string',
'title' => 'string',
'Editorials__tlink' => 'string',
'Editorials.tlink' => 'string',
'tlink' => 'string',
'Editorials__color' => 'string',
'Editorials.color' => 'string',
'color' => 'string',
'Editorials__type' => 'integer',
'Editorials.type' => 'integer',
'type' => 'integer',
'Editorials__image' => 'string',
'Editorials.image' => 'string',
'image' => 'string',
]
'decorators' => (int) 0
'executed' => false
'hydrate' => true
'buffered' => true
'formatters' => (int) 0
'mapReducers' => (int) 0
'contain' => [
]
'matching' => [
]
'extraOptions' => [
]
'repository' => object(App\Model\Table\EditorialsTable) id:1 {
}
},
'editorialrp' => object(Cake\ORM\Query) id:2 {
'(help)' => 'This is a Query object, to get the results execute or iterate it.'
'sql' => 'SELECT Editorials.id AS Editorials__id, Editorials.ord AS Editorials__ord, Editorials.title AS Editorials__title, Editorials.tlink AS Editorials__tlink, Editorials.color AS Editorials__color, Editorials.type AS Editorials__type, Editorials.image AS Editorials__image FROM editorials Editorials WHERE type = :c0 ORDER BY ord ASC LIMIT 6'
'params' => [
':c0' => [
'' => [maximum depth reached],
],
]
'defaultTypes' => [
'Editorials__id' => 'integer',
'Editorials.id' => 'integer',
'id' => 'integer',
'Editorials__ord' => 'integer',
'Editorials.ord' => 'integer',
'ord' => 'integer',
'Editorials__title' => 'string',
'Editorials.title' => 'string',
'title' => 'string',
'Editorials__tlink' => 'string',
'Editorials.tlink' => 'string',
'tlink' => 'string',
'Editorials__color' => 'string',
'Editorials.color' => 'string',
'color' => 'string',
'Editorials__type' => 'integer',
'Editorials.type' => 'integer',
'type' => 'integer',
'Editorials__image' => 'string',
'Editorials.image' => 'string',
'image' => 'string',
]
'decorators' => (int) 0
'executed' => false
'hydrate' => true
'buffered' => true
'formatters' => (int) 0
'mapReducers' => (int) 0
'contain' => [
]
'matching' => [
]
'extraOptions' => [
]
'repository' => object(App\Model\Table\EditorialsTable) id: 1 {}
},
'editorialcont' => object(Cake\ORM\Query) id:3 {
'(help)' => 'This is a Query object, to get the results execute or iterate it.'
'sql' => 'SELECT Editorials.id AS Editorials__id, Editorials.ord AS Editorials__ord, Editorials.title AS Editorials__title, Editorials.tlink AS Editorials__tlink, Editorials.color AS Editorials__color, Editorials.type AS Editorials__type, Editorials.image AS Editorials__image FROM editorials Editorials WHERE type = :c0 ORDER BY ord ASC LIMIT 100 OFFSET 6'
'params' => [
':c0' => [
'' => [maximum depth reached],
],
]
'defaultTypes' => [
'Editorials__id' => 'integer',
'Editorials.id' => 'integer',
'id' => 'integer',
'Editorials__ord' => 'integer',
'Editorials.ord' => 'integer',
'ord' => 'integer',
'Editorials__title' => 'string',
'Editorials.title' => 'string',
'title' => 'string',
'Editorials__tlink' => 'string',
'Editorials.tlink' => 'string',
'tlink' => 'string',
'Editorials__color' => 'string',
'Editorials.color' => 'string',
'color' => 'string',
'Editorials__type' => 'integer',
'Editorials.type' => 'integer',
'type' => 'integer',
'Editorials__image' => 'string',
'Editorials.image' => 'string',
'image' => 'string',
]
'decorators' => (int) 0
'executed' => false
'hydrate' => true
'buffered' => true
'formatters' => (int) 0
'mapReducers' => (int) 0
'contain' => [
]
'matching' => [
]
'extraOptions' => [
]
'repository' => object(App\Model\Table\EditorialsTable) id: 1 {}
},
'editorial' => object(Cake\ORM\Query) id:4 {
'(help)' => 'This is a Query object, to get the results execute or iterate it.'
'sql' => 'SELECT Editorials.id AS Editorials__id, Editorials.ord AS Editorials__ord, Editorials.title AS Editorials__title, Editorials.tlink AS Editorials__tlink, Editorials.color AS Editorials__color, Editorials.type AS Editorials__type, Editorials.image AS Editorials__image FROM editorials Editorials WHERE type = :c0 ORDER BY ord ASC LIMIT 6'
'params' => [
':c0' => [
'' => [maximum depth reached],
],
]
'defaultTypes' => [
'Editorials__id' => 'integer',
'Editorials.id' => 'integer',
'id' => 'integer',
'Editorials__ord' => 'integer',
'Editorials.ord' => 'integer',
'ord' => 'integer',
'Editorials__title' => 'string',
'Editorials.title' => 'string',
'title' => 'string',
'Editorials__tlink' => 'string',
'Editorials.tlink' => 'string',
'tlink' => 'string',
'Editorials__color' => 'string',
'Editorials.color' => 'string',
'color' => 'string',
'Editorials__type' => 'integer',
'Editorials.type' => 'integer',
'type' => 'integer',
'Editorials__image' => 'string',
'Editorials.image' => 'string',
'image' => 'string',
]
'decorators' => (int) 0
'executed' => false
'hydrate' => true
'buffered' => true
'formatters' => (int) 0
'mapReducers' => (int) 0
'contain' => [
]
'matching' => [
]
'extraOptions' => [
]
'repository' => object(App\Model\Table\EditorialsTable) id: 1 {}
},
'user' => null,
]
$bufferLevel = (int) 0
$id = 'gHda794d6JA_|_Estamos chegando Castanhal!_|_'
$colunistas = object(Cake\ORM\Query) id:0 {
'(help)' => 'This is a Query object, to get the results execute or iterate it.'
'sql' => 'SELECT Editorials.id AS Editorials__id, Editorials.ord AS Editorials__ord, Editorials.title AS Editorials__title, Editorials.tlink AS Editorials__tlink, Editorials.color AS Editorials__color, Editorials.type AS Editorials__type, Editorials.image AS Editorials__image FROM editorials Editorials WHERE type = :c0 ORDER BY ord ASC'
'params' => [
':c0' => [
'value' => (int) 2,
'type' => 'integer',
'placeholder' => 'c0',
],
]
'defaultTypes' => [
'Editorials__id' => 'integer',
'Editorials.id' => 'integer',
'id' => 'integer',
'Editorials__ord' => 'integer',
'Editorials.ord' => 'integer',
'ord' => 'integer',
'Editorials__title' => 'string',
'Editorials.title' => 'string',
'title' => 'string',
'Editorials__tlink' => 'string',
'Editorials.tlink' => 'string',
'tlink' => 'string',
'Editorials__color' => 'string',
'Editorials.color' => 'string',
'color' => 'string',
'Editorials__type' => 'integer',
'Editorials.type' => 'integer',
'type' => 'integer',
'Editorials__image' => 'string',
'Editorials.image' => 'string',
'image' => 'string',
]
'decorators' => (int) 0
'executed' => false
'hydrate' => true
'buffered' => true
'formatters' => (int) 0
'mapReducers' => (int) 0
'contain' => [
]
'matching' => [
]
'extraOptions' => [
]
'repository' => object(App\Model\Table\EditorialsTable) id:1 {
'registryAlias' => 'Editorials'
'table' => 'editorials'
'alias' => 'Editorials'
'entityClass' => 'App\Model\Entity\Editorial'
'associations' => [
(int) 0 => 'Articles',
(int) 1 => 'Editorialsubs',
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
}
$editorialrp = object(Cake\ORM\Query) id:0 {
'(help)' => 'This is a Query object, to get the results execute or iterate it.'
'sql' => 'SELECT Editorials.id AS Editorials__id, Editorials.ord AS Editorials__ord, Editorials.title AS Editorials__title, Editorials.tlink AS Editorials__tlink, Editorials.color AS Editorials__color, Editorials.type AS Editorials__type, Editorials.image AS Editorials__image FROM editorials Editorials WHERE type = :c0 ORDER BY ord ASC LIMIT 6'
'params' => [
':c0' => [
'value' => (int) 1,
'type' => 'integer',
'placeholder' => 'c0',
],
]
'defaultTypes' => [
'Editorials__id' => 'integer',
'Editorials.id' => 'integer',
'id' => 'integer',
'Editorials__ord' => 'integer',
'Editorials.ord' => 'integer',
'ord' => 'integer',
'Editorials__title' => 'string',
'Editorials.title' => 'string',
'title' => 'string',
'Editorials__tlink' => 'string',
'Editorials.tlink' => 'string',
'tlink' => 'string',
'Editorials__color' => 'string',
'Editorials.color' => 'string',
'color' => 'string',
'Editorials__type' => 'integer',
'Editorials.type' => 'integer',
'type' => 'integer',
'Editorials__image' => 'string',
'Editorials.image' => 'string',
'image' => 'string',
]
'decorators' => (int) 0
'executed' => false
'hydrate' => true
'buffered' => true
'formatters' => (int) 0
'mapReducers' => (int) 0
'contain' => [
]
'matching' => [
]
'extraOptions' => [
]
'repository' => object(App\Model\Table\EditorialsTable) id:1 {
'registryAlias' => 'Editorials'
'table' => 'editorials'
'alias' => 'Editorials'
'entityClass' => 'App\Model\Entity\Editorial'
'associations' => [
(int) 0 => 'Articles',
(int) 1 => 'Editorialsubs',
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
}
$editorialcont = object(Cake\ORM\Query) id:0 {
'(help)' => 'This is a Query object, to get the results execute or iterate it.'
'sql' => 'SELECT Editorials.id AS Editorials__id, Editorials.ord AS Editorials__ord, Editorials.title AS Editorials__title, Editorials.tlink AS Editorials__tlink, Editorials.color AS Editorials__color, Editorials.type AS Editorials__type, Editorials.image AS Editorials__image FROM editorials Editorials WHERE type = :c0 ORDER BY ord ASC LIMIT 100 OFFSET 6'
'params' => [
':c0' => [
'value' => (int) 1,
'type' => 'integer',
'placeholder' => 'c0',
],
]
'defaultTypes' => [
'Editorials__id' => 'integer',
'Editorials.id' => 'integer',
'id' => 'integer',
'Editorials__ord' => 'integer',
'Editorials.ord' => 'integer',
'ord' => 'integer',
'Editorials__title' => 'string',
'Editorials.title' => 'string',
'title' => 'string',
'Editorials__tlink' => 'string',
'Editorials.tlink' => 'string',
'tlink' => 'string',
'Editorials__color' => 'string',
'Editorials.color' => 'string',
'color' => 'string',
'Editorials__type' => 'integer',
'Editorials.type' => 'integer',
'type' => 'integer',
'Editorials__image' => 'string',
'Editorials.image' => 'string',
'image' => 'string',
]
'decorators' => (int) 0
'executed' => false
'hydrate' => true
'buffered' => true
'formatters' => (int) 0
'mapReducers' => (int) 0
'contain' => [
]
'matching' => [
]
'extraOptions' => [
]
'repository' => object(App\Model\Table\EditorialsTable) id:1 {
'registryAlias' => 'Editorials'
'table' => 'editorials'
'alias' => 'Editorials'
'entityClass' => 'App\Model\Entity\Editorial'
'associations' => [
(int) 0 => 'Articles',
(int) 1 => 'Editorialsubs',
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
}
$editorial = object(Cake\ORM\Query) id:0 {
'(help)' => 'This is a Query object, to get the results execute or iterate it.'
'sql' => 'SELECT Editorials.id AS Editorials__id, Editorials.ord AS Editorials__ord, Editorials.title AS Editorials__title, Editorials.tlink AS Editorials__tlink, Editorials.color AS Editorials__color, Editorials.type AS Editorials__type, Editorials.image AS Editorials__image FROM editorials Editorials WHERE type = :c0 ORDER BY ord ASC LIMIT 6'
'params' => [
':c0' => [
'value' => (int) 1,
'type' => 'integer',
'placeholder' => 'c0',
],
]
'defaultTypes' => [
'Editorials__id' => 'integer',
'Editorials.id' => 'integer',
'id' => 'integer',
'Editorials__ord' => 'integer',
'Editorials.ord' => 'integer',
'ord' => 'integer',
'Editorials__title' => 'string',
'Editorials.title' => 'string',
'title' => 'string',
'Editorials__tlink' => 'string',
'Editorials.tlink' => 'string',
'tlink' => 'string',
'Editorials__color' => 'string',
'Editorials.color' => 'string',
'color' => 'string',
'Editorials__type' => 'integer',
'Editorials.type' => 'integer',
'type' => 'integer',
'Editorials__image' => 'string',
'Editorials.image' => 'string',
'image' => 'string',
]
'decorators' => (int) 0
'executed' => false
'hydrate' => true
'buffered' => true
'formatters' => (int) 0
'mapReducers' => (int) 0
'contain' => [
]
'matching' => [
]
'extraOptions' => [
]
'repository' => object(App\Model\Table\EditorialsTable) id:1 {
'registryAlias' => 'Editorials'
'table' => 'editorials'
'alias' => 'Editorials'
'entityClass' => 'App\Model\Entity\Editorial'
'associations' => [
(int) 0 => 'Articles',
(int) 1 => 'Editorialsubs',
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
}
$user = null
$canal = 'https://www.googleapis.com/youtube/v3/search?key=AIzaSyCCbNvv5hXjj-RnQR51u4lotht3NRtR69g&channelId=UCoBazwqYpuoKrhS7Nq70sig&part=snippet,id&order=date&maxResults=20'
$ch = (resource (closed)) Resource id #257
$result = '{
"error": {
"code": 403,
"message": "The request cannot be completed because you have exceeded your \u003ca href=\"/youtube/v3/getting-started#quota\"\u003equota\u003c/a\u003e.",
"errors": [
{
"message": "The request cannot be completed because you have exceeded your \u003ca href=\"/youtube/v3/getting-started#quota\"\u003equota\u003c/a\u003e.",
"domain": "youtube.quota",
"reason": "quotaExceeded"
}
]
}
}
'
$videos = [
'error' => [
'code' => (int) 403,
'message' => 'The request cannot be completed because you have exceeded your <a href="/youtube/v3/getting-started#quota">quota</a>.',
'errors' => [
(int) 0 => [
'' => [maximum depth reached],
],
],
],
]
$dados = [
(int) 0 => 'gHda794d6JA',
(int) 1 => 'Estamos chegando Castanhal!',
(int) 2 => '',
]
$idv = 'gHda794d6JA'
$title = 'Estamos chegando Castanhal!'
$description = ' '
include - ROOT/templates/Pages/videos.php, line 69
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1176
Cake\View\View::_render() - CORE/src/View/View.php, line 1134
Cake\View\View::render() - CORE/src/View/View.php, line 764
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 699
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 540
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 149
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 313
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 159
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 161
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 126
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Warning (2): Invalid argument supplied for foreach() [ROOT/templates/Pages/videos.php, line 69]Code Context
<?php foreach ($videos['items'] as $video) : ?>
<?php
$templateFile = '/home/caravana/public_html/templates/Pages/videos.php'
$dataForView = [
'id' => 'gHda794d6JA_|_Estamos chegando Castanhal!_|_',
'colunistas' => object(Cake\ORM\Query) id:0 {
'(help)' => 'This is a Query object, to get the results execute or iterate it.'
'sql' => 'SELECT Editorials.id AS Editorials__id, Editorials.ord AS Editorials__ord, Editorials.title AS Editorials__title, Editorials.tlink AS Editorials__tlink, Editorials.color AS Editorials__color, Editorials.type AS Editorials__type, Editorials.image AS Editorials__image FROM editorials Editorials WHERE type = :c0 ORDER BY ord ASC'
'params' => [
':c0' => [
'' => [maximum depth reached],
],
]
'defaultTypes' => [
'Editorials__id' => 'integer',
'Editorials.id' => 'integer',
'id' => 'integer',
'Editorials__ord' => 'integer',
'Editorials.ord' => 'integer',
'ord' => 'integer',
'Editorials__title' => 'string',
'Editorials.title' => 'string',
'title' => 'string',
'Editorials__tlink' => 'string',
'Editorials.tlink' => 'string',
'tlink' => 'string',
'Editorials__color' => 'string',
'Editorials.color' => 'string',
'color' => 'string',
'Editorials__type' => 'integer',
'Editorials.type' => 'integer',
'type' => 'integer',
'Editorials__image' => 'string',
'Editorials.image' => 'string',
'image' => 'string',
]
'decorators' => (int) 0
'executed' => false
'hydrate' => true
'buffered' => true
'formatters' => (int) 0
'mapReducers' => (int) 0
'contain' => [
]
'matching' => [
]
'extraOptions' => [
]
'repository' => object(App\Model\Table\EditorialsTable) id:1 {
}
},
'editorialrp' => object(Cake\ORM\Query) id:2 {
'(help)' => 'This is a Query object, to get the results execute or iterate it.'
'sql' => 'SELECT Editorials.id AS Editorials__id, Editorials.ord AS Editorials__ord, Editorials.title AS Editorials__title, Editorials.tlink AS Editorials__tlink, Editorials.color AS Editorials__color, Editorials.type AS Editorials__type, Editorials.image AS Editorials__image FROM editorials Editorials WHERE type = :c0 ORDER BY ord ASC LIMIT 6'
'params' => [
':c0' => [
'' => [maximum depth reached],
],
]
'defaultTypes' => [
'Editorials__id' => 'integer',
'Editorials.id' => 'integer',
'id' => 'integer',
'Editorials__ord' => 'integer',
'Editorials.ord' => 'integer',
'ord' => 'integer',
'Editorials__title' => 'string',
'Editorials.title' => 'string',
'title' => 'string',
'Editorials__tlink' => 'string',
'Editorials.tlink' => 'string',
'tlink' => 'string',
'Editorials__color' => 'string',
'Editorials.color' => 'string',
'color' => 'string',
'Editorials__type' => 'integer',
'Editorials.type' => 'integer',
'type' => 'integer',
'Editorials__image' => 'string',
'Editorials.image' => 'string',
'image' => 'string',
]
'decorators' => (int) 0
'executed' => false
'hydrate' => true
'buffered' => true
'formatters' => (int) 0
'mapReducers' => (int) 0
'contain' => [
]
'matching' => [
]
'extraOptions' => [
]
'repository' => object(App\Model\Table\EditorialsTable) id: 1 {}
},
'editorialcont' => object(Cake\ORM\Query) id:3 {
'(help)' => 'This is a Query object, to get the results execute or iterate it.'
'sql' => 'SELECT Editorials.id AS Editorials__id, Editorials.ord AS Editorials__ord, Editorials.title AS Editorials__title, Editorials.tlink AS Editorials__tlink, Editorials.color AS Editorials__color, Editorials.type AS Editorials__type, Editorials.image AS Editorials__image FROM editorials Editorials WHERE type = :c0 ORDER BY ord ASC LIMIT 100 OFFSET 6'
'params' => [
':c0' => [
'' => [maximum depth reached],
],
]
'defaultTypes' => [
'Editorials__id' => 'integer',
'Editorials.id' => 'integer',
'id' => 'integer',
'Editorials__ord' => 'integer',
'Editorials.ord' => 'integer',
'ord' => 'integer',
'Editorials__title' => 'string',
'Editorials.title' => 'string',
'title' => 'string',
'Editorials__tlink' => 'string',
'Editorials.tlink' => 'string',
'tlink' => 'string',
'Editorials__color' => 'string',
'Editorials.color' => 'string',
'color' => 'string',
'Editorials__type' => 'integer',
'Editorials.type' => 'integer',
'type' => 'integer',
'Editorials__image' => 'string',
'Editorials.image' => 'string',
'image' => 'string',
]
'decorators' => (int) 0
'executed' => false
'hydrate' => true
'buffered' => true
'formatters' => (int) 0
'mapReducers' => (int) 0
'contain' => [
]
'matching' => [
]
'extraOptions' => [
]
'repository' => object(App\Model\Table\EditorialsTable) id: 1 {}
},
'editorial' => object(Cake\ORM\Query) id:4 {
'(help)' => 'This is a Query object, to get the results execute or iterate it.'
'sql' => 'SELECT Editorials.id AS Editorials__id, Editorials.ord AS Editorials__ord, Editorials.title AS Editorials__title, Editorials.tlink AS Editorials__tlink, Editorials.color AS Editorials__color, Editorials.type AS Editorials__type, Editorials.image AS Editorials__image FROM editorials Editorials WHERE type = :c0 ORDER BY ord ASC LIMIT 6'
'params' => [
':c0' => [
'' => [maximum depth reached],
],
]
'defaultTypes' => [
'Editorials__id' => 'integer',
'Editorials.id' => 'integer',
'id' => 'integer',
'Editorials__ord' => 'integer',
'Editorials.ord' => 'integer',
'ord' => 'integer',
'Editorials__title' => 'string',
'Editorials.title' => 'string',
'title' => 'string',
'Editorials__tlink' => 'string',
'Editorials.tlink' => 'string',
'tlink' => 'string',
'Editorials__color' => 'string',
'Editorials.color' => 'string',
'color' => 'string',
'Editorials__type' => 'integer',
'Editorials.type' => 'integer',
'type' => 'integer',
'Editorials__image' => 'string',
'Editorials.image' => 'string',
'image' => 'string',
]
'decorators' => (int) 0
'executed' => false
'hydrate' => true
'buffered' => true
'formatters' => (int) 0
'mapReducers' => (int) 0
'contain' => [
]
'matching' => [
]
'extraOptions' => [
]
'repository' => object(App\Model\Table\EditorialsTable) id: 1 {}
},
'user' => null,
]
$bufferLevel = (int) 0
$id = 'gHda794d6JA_|_Estamos chegando Castanhal!_|_'
$colunistas = object(Cake\ORM\Query) id:0 {
'(help)' => 'This is a Query object, to get the results execute or iterate it.'
'sql' => 'SELECT Editorials.id AS Editorials__id, Editorials.ord AS Editorials__ord, Editorials.title AS Editorials__title, Editorials.tlink AS Editorials__tlink, Editorials.color AS Editorials__color, Editorials.type AS Editorials__type, Editorials.image AS Editorials__image FROM editorials Editorials WHERE type = :c0 ORDER BY ord ASC'
'params' => [
':c0' => [
'value' => (int) 2,
'type' => 'integer',
'placeholder' => 'c0',
],
]
'defaultTypes' => [
'Editorials__id' => 'integer',
'Editorials.id' => 'integer',
'id' => 'integer',
'Editorials__ord' => 'integer',
'Editorials.ord' => 'integer',
'ord' => 'integer',
'Editorials__title' => 'string',
'Editorials.title' => 'string',
'title' => 'string',
'Editorials__tlink' => 'string',
'Editorials.tlink' => 'string',
'tlink' => 'string',
'Editorials__color' => 'string',
'Editorials.color' => 'string',
'color' => 'string',
'Editorials__type' => 'integer',
'Editorials.type' => 'integer',
'type' => 'integer',
'Editorials__image' => 'string',
'Editorials.image' => 'string',
'image' => 'string',
]
'decorators' => (int) 0
'executed' => false
'hydrate' => true
'buffered' => true
'formatters' => (int) 0
'mapReducers' => (int) 0
'contain' => [
]
'matching' => [
]
'extraOptions' => [
]
'repository' => object(App\Model\Table\EditorialsTable) id:1 {
'registryAlias' => 'Editorials'
'table' => 'editorials'
'alias' => 'Editorials'
'entityClass' => 'App\Model\Entity\Editorial'
'associations' => [
(int) 0 => 'Articles',
(int) 1 => 'Editorialsubs',
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
}
$editorialrp = object(Cake\ORM\Query) id:0 {
'(help)' => 'This is a Query object, to get the results execute or iterate it.'
'sql' => 'SELECT Editorials.id AS Editorials__id, Editorials.ord AS Editorials__ord, Editorials.title AS Editorials__title, Editorials.tlink AS Editorials__tlink, Editorials.color AS Editorials__color, Editorials.type AS Editorials__type, Editorials.image AS Editorials__image FROM editorials Editorials WHERE type = :c0 ORDER BY ord ASC LIMIT 6'
'params' => [
':c0' => [
'value' => (int) 1,
'type' => 'integer',
'placeholder' => 'c0',
],
]
'defaultTypes' => [
'Editorials__id' => 'integer',
'Editorials.id' => 'integer',
'id' => 'integer',
'Editorials__ord' => 'integer',
'Editorials.ord' => 'integer',
'ord' => 'integer',
'Editorials__title' => 'string',
'Editorials.title' => 'string',
'title' => 'string',
'Editorials__tlink' => 'string',
'Editorials.tlink' => 'string',
'tlink' => 'string',
'Editorials__color' => 'string',
'Editorials.color' => 'string',
'color' => 'string',
'Editorials__type' => 'integer',
'Editorials.type' => 'integer',
'type' => 'integer',
'Editorials__image' => 'string',
'Editorials.image' => 'string',
'image' => 'string',
]
'decorators' => (int) 0
'executed' => false
'hydrate' => true
'buffered' => true
'formatters' => (int) 0
'mapReducers' => (int) 0
'contain' => [
]
'matching' => [
]
'extraOptions' => [
]
'repository' => object(App\Model\Table\EditorialsTable) id:1 {
'registryAlias' => 'Editorials'
'table' => 'editorials'
'alias' => 'Editorials'
'entityClass' => 'App\Model\Entity\Editorial'
'associations' => [
(int) 0 => 'Articles',
(int) 1 => 'Editorialsubs',
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
}
$editorialcont = object(Cake\ORM\Query) id:0 {
'(help)' => 'This is a Query object, to get the results execute or iterate it.'
'sql' => 'SELECT Editorials.id AS Editorials__id, Editorials.ord AS Editorials__ord, Editorials.title AS Editorials__title, Editorials.tlink AS Editorials__tlink, Editorials.color AS Editorials__color, Editorials.type AS Editorials__type, Editorials.image AS Editorials__image FROM editorials Editorials WHERE type = :c0 ORDER BY ord ASC LIMIT 100 OFFSET 6'
'params' => [
':c0' => [
'value' => (int) 1,
'type' => 'integer',
'placeholder' => 'c0',
],
]
'defaultTypes' => [
'Editorials__id' => 'integer',
'Editorials.id' => 'integer',
'id' => 'integer',
'Editorials__ord' => 'integer',
'Editorials.ord' => 'integer',
'ord' => 'integer',
'Editorials__title' => 'string',
'Editorials.title' => 'string',
'title' => 'string',
'Editorials__tlink' => 'string',
'Editorials.tlink' => 'string',
'tlink' => 'string',
'Editorials__color' => 'string',
'Editorials.color' => 'string',
'color' => 'string',
'Editorials__type' => 'integer',
'Editorials.type' => 'integer',
'type' => 'integer',
'Editorials__image' => 'string',
'Editorials.image' => 'string',
'image' => 'string',
]
'decorators' => (int) 0
'executed' => false
'hydrate' => true
'buffered' => true
'formatters' => (int) 0
'mapReducers' => (int) 0
'contain' => [
]
'matching' => [
]
'extraOptions' => [
]
'repository' => object(App\Model\Table\EditorialsTable) id:1 {
'registryAlias' => 'Editorials'
'table' => 'editorials'
'alias' => 'Editorials'
'entityClass' => 'App\Model\Entity\Editorial'
'associations' => [
(int) 0 => 'Articles',
(int) 1 => 'Editorialsubs',
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
}
$editorial = object(Cake\ORM\Query) id:0 {
'(help)' => 'This is a Query object, to get the results execute or iterate it.'
'sql' => 'SELECT Editorials.id AS Editorials__id, Editorials.ord AS Editorials__ord, Editorials.title AS Editorials__title, Editorials.tlink AS Editorials__tlink, Editorials.color AS Editorials__color, Editorials.type AS Editorials__type, Editorials.image AS Editorials__image FROM editorials Editorials WHERE type = :c0 ORDER BY ord ASC LIMIT 6'
'params' => [
':c0' => [
'value' => (int) 1,
'type' => 'integer',
'placeholder' => 'c0',
],
]
'defaultTypes' => [
'Editorials__id' => 'integer',
'Editorials.id' => 'integer',
'id' => 'integer',
'Editorials__ord' => 'integer',
'Editorials.ord' => 'integer',
'ord' => 'integer',
'Editorials__title' => 'string',
'Editorials.title' => 'string',
'title' => 'string',
'Editorials__tlink' => 'string',
'Editorials.tlink' => 'string',
'tlink' => 'string',
'Editorials__color' => 'string',
'Editorials.color' => 'string',
'color' => 'string',
'Editorials__type' => 'integer',
'Editorials.type' => 'integer',
'type' => 'integer',
'Editorials__image' => 'string',
'Editorials.image' => 'string',
'image' => 'string',
]
'decorators' => (int) 0
'executed' => false
'hydrate' => true
'buffered' => true
'formatters' => (int) 0
'mapReducers' => (int) 0
'contain' => [
]
'matching' => [
]
'extraOptions' => [
]
'repository' => object(App\Model\Table\EditorialsTable) id:1 {
'registryAlias' => 'Editorials'
'table' => 'editorials'
'alias' => 'Editorials'
'entityClass' => 'App\Model\Entity\Editorial'
'associations' => [
(int) 0 => 'Articles',
(int) 1 => 'Editorialsubs',
]
'behaviors' => [
]
'defaultConnection' => 'default'
'connectionName' => 'default'
}
}
$user = null
$canal = 'https://www.googleapis.com/youtube/v3/search?key=AIzaSyCCbNvv5hXjj-RnQR51u4lotht3NRtR69g&channelId=UCoBazwqYpuoKrhS7Nq70sig&part=snippet,id&order=date&maxResults=20'
$ch = (resource (closed)) Resource id #257
$result = '{
"error": {
"code": 403,
"message": "The request cannot be completed because you have exceeded your \u003ca href=\"/youtube/v3/getting-started#quota\"\u003equota\u003c/a\u003e.",
"errors": [
{
"message": "The request cannot be completed because you have exceeded your \u003ca href=\"/youtube/v3/getting-started#quota\"\u003equota\u003c/a\u003e.",
"domain": "youtube.quota",
"reason": "quotaExceeded"
}
]
}
}
'
$videos = [
'error' => [
'code' => (int) 403,
'message' => 'The request cannot be completed because you have exceeded your <a href="/youtube/v3/getting-started#quota">quota</a>.',
'errors' => [
(int) 0 => [
'' => [maximum depth reached],
],
],
],
]
$dados = [
(int) 0 => 'gHda794d6JA',
(int) 1 => 'Estamos chegando Castanhal!',
(int) 2 => '',
]
$idv = 'gHda794d6JA'
$title = 'Estamos chegando Castanhal!'
$description = ' '
include - ROOT/templates/Pages/videos.php, line 69
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1176
Cake\View\View::_render() - CORE/src/View/View.php, line 1134
Cake\View\View::render() - CORE/src/View/View.php, line 764
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 699
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 540
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 149
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 313
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\BodyParserMiddleware::process() - CORE/src/Http/Middleware/BodyParserMiddleware.php, line 159
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\RoutingMiddleware::process() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 161
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Routing\Middleware\AssetMiddleware::process() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 68
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Cake\Error\Middleware\ErrorHandlerMiddleware::process() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 126
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73